package com.test.p22visitor.staticdispatch;

public class BlackHorse extends Horse {

    @Override
    public void eat() {
        System.out.println("黑马吃草");
    }

}